import http from '@/utils/http'

// 首页接口
const getIndexData = (params) => {
  return http.getJson('/api/index/getIndexData', params).then((res) => {
    // console.log('res: ', res)
    return res.data
  })
}

export default {
  getIndexData,
}
